//---------------------------------------------------------------------------
#ifndef ColorFormH
#define ColorFormH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <Grids.hpp>
#include <ValEdit.hpp>
#include <vector.h>
typedef struct {
	int index;
	UnicodeString desc;
} resourse;
//---------------------------------------------------------------------------
class TCF : public TForm {
__published: //IDE-managed Components
	TScrollBox *SB;
	TButton *OkB;
	TButton *PrB;
	TButton *CanB;
	void __fastcall FormCreate(TObject *Sender);
	void __fastcall PrBClick(TObject *Sender);
	void __fastcall OkBClick(TObject *Sender);
	void __fastcall FormShow(TObject *Sender);
	void __fastcall CanBClick(TObject *Sender);
private: //User declarations
		struct {
		TImage* img;
		TEdit* edt;
		TCheckBox* chk;
	}
	colors[10];
public: //User declarations
	vector <resourse> res, res0;
	__fastcall TCF(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TCF *CF;
//---------------------------------------------------------------------------
#endif
